//
//  AppDelegate.swift
//  chengweibo
//
//  Created by admin on 16-2-26.
//  Copyright (c) 2016年 Wind. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?


    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        //设置导航栏按键的颜色
        setupAppearance()
        
       self.window = UIWindow(frame: UIScreen.mainScreen().bounds)
        
        let tabBarVC = CZMainViewController()
        
        window?.rootViewController = tabBarVC
        
        window?.makeKeyAndVisible()
     
        return true
    }
    
    func setupAppearance () {
        
       let item = UIBarButtonItem.appearance()
        item.tintColor = UIColor.orangeColor()
    }

}

